package materials;

import hulppakket.Color3f;
import hulppakket.Intersection;
import hulppakket.Scene;

public abstract class Material {

	protected Color3f color;
	public String name;

	public Material(Color3f color, String name) {
		this.color = color;
		this.name = name;
	}

	public Material(String name) {
		this.name = name;
	}

	public String getName() {
		return this.name;
	}

	public abstract Color3f getShadedColor(Scene scene,
			Intersection intersection);
}
